import { defineStore } from 'pinia'

export const showLoad = defineStore('showLoad', {
  state: () => ({
    loading: false
  }),
  actions: {
    start () {
      this.loading = true
    },
    finished () {
      this.loading = false
    }
  }
})
